Produced by Araxis Merge on 2021-05-13 09:09:06 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | /Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/html | header.phtml | 2019-12-13 07:51:24 +0000 |
| 2 | /Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Smartwave_Porto/templates/html | header.phtml | 2021-04-23 07:11:20 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 184 | 666 |
| Changed | 98 | 928 |
| Inserted | 49 | 212 |
| Removed | 36 | 95 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | 1 | <?php | |||
| 2 | $_helper = $this->helper('Smartwave\Porto\Helper\Data'); | 2 | $_helper = $this->helper('Smartwave\Porto\Helper\Data'); | |||
| 3 | $header_type = $this->getConfig('porto_settings/header/header_type'); | 3 | $header_type = $this->getConfig('porto_settings/header/header_type'); | |||
| 4 | $header_new_skin = $this->getConfig('porto_settings/header/new_skin'); | 4 | $header2_text = $this->getConfig('porto_settings/header/header2_text'); | |||
| 5 | $class = $header_type == 17 || $header_type == 19 || $header_type == 16 || $header_type == 20 || $header_type == 21 || $header_type == 22 || $header_type == 25 || $header_type == 26 || $header_type == 27 ? 'header-newskin':''; | |||||
| 6 | if(isset($header_new_skin) && $header_new_skin && ($header_type == 2 || $header_type == 5 || $header_type == 6 || $header_type == 7 || $header_type == 8 || $header_type == 13)) | |||||
| 7 | $class = 'header-newskin'; | |||||
| 8 | if(isset($header_new_skin) && $header_new_skin && $header_type == 10) | |||||
| 9 | $class = 'header-new-skin'; | |||||
| 10 | $show_notice = $this->getConfig('porto_settings/general/show_site_notice'); | 5 | $show_notice = $this->getConfig('porto_settings/general/show_site_notice'); | |||
| 11 | ||||||
| 12 | if ($show_notice && $show_notice == 1) | 6 | if ($show_notice && $show_notice == 1) | |||
| 13 | echo $this->getChildHtml("porto_custom_notice"); | 7 | echo $this->getChildHtml("porto_custom_notice"); | |||
| 14 | ?> | 8 | ?> | |||
| 15 | <header class="page-header type<?php echo $header_type; ?> <?php echo $class;?>" > | 9 | <?php if($header_type == 10): ?> | |||
| 10 | <div class="position-relative"> | |||||
| 11 | <?php endif;?> | |||||
| 12 | <header class="page-header type<?php echo $header_type; ?> | |||||
| 16 | <?php echo $this->getChildHtml("header_customer_form_login"); ?> | 13 | <?php echo $this->getChildHtml("header_customer_form_login"); ?> | |||
| 17 | <?php if($header_type == 3 || $header_type == 4 || $header_type == 9): ?> | 14 | <?php if($header_type == 1): ?> | |||
| 18 | <div class="header content"> | 15 | <div class="main-panel-top"> | |||
| 19 | <?php echo $this->getChildHtml("logo"); ?> | 16 | <div class="container"> | |||
| 20 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 17 | <div class="main-panel-inner"> | |||
| 18 | <div class="panel wrapper"> | |||||
| 19 | <div class="header-left"> | |||||
| 21 | <div class="panel header"> | 20 | <div class="panel header"> | |||
| 22 | <div class="top-panel"> | 21 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 23 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 22 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 24 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 23 | </div> | |||
| 24 | </div> | |||||
| 25 | <div class="header-right"> | |||||
| 26 | <div class="panel header show-icon-tablet"> | |||||
| 27 | <div class="top-links-icon"> | |||||
| 28 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 29 | </div> | |||||
| 25 | <?php echo $this->getChildHtml("header.links"); ?> | 30 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 26 | <div class="search-area | 31 | </div> | |||
| 27 | <a href="javascript:void(0) | 32 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||
| 33 | </div> | |||||
| 34 | </div> | |||||
| 35 | </div> | |||||
| 36 | </div> | |||||
| 37 | </div> | |||||
| 38 | <div class="header-main"> | |||||
| 39 | <div class="header content header-row"> | |||||
| 40 | <div class="header-left"> | |||||
| 41 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 42 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 43 | </div> | |||||
| 44 | <div class="header-center"> | |||||
| 45 | <div class="search-area show-icon-tablet"> | |||||
| 46 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 28 | <?php echo $this->getChildHtml("top.search"); ?> | 47 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 29 | </div> | 48 | </div> | |||
| 30 | </div> | 49 | </div> | |||
| 31 | <div class="bottom-panel"> | 50 | <div class="header-right"> | |||
| 32 | <?php echo $this->getChildHtml("currency"); ?> | 51 | <div class="header-contact"> | |||
| 33 | <?php echo $this->getChildHtml("store_language"); ?> | 52 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 53 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account m-l-xs mr-1 mr-lg-2" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 54 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-1 mr-lg-2 pr-lg-1" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 55 | </div> | |||||
| 34 | <?php echo $this->getChildHtml("minicart"); ?> | 56 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 35 | </div> | 57 | </div> | |||
| 36 | </div> | 58 | </div> | |||
| 37 | </div> | 59 | </div> | |||
| 38 | <?php elseif($header_type == 12): ?> | |||||
| 39 | <div class="header content"> | |||||
| 40 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 41 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 60 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 61 | <?php elseif($header_type == 2): ?> | |||||
| 62 | <div class="main-panel-top"> | |||||
| 63 | <div class="container"> | |||||
| 64 | <div class="main-panel-inner"> | |||||
| 65 | <div class="panel wrapper"> | |||||
| 66 | <div class="header-left"> | |||||
| 67 | <?php echo $header2_text;?> | |||||
| 68 | </div> | |||||
| 69 | <div class="header-right"> | |||||
| 70 | <div class="panel header show-icon-tablet"> | |||||
| 71 | <div class="top-links-icon"> | |||||
| 72 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 73 | </div> | |||||
| 74 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 75 | </div> | |||||
| 76 | <span class="separator"></span> | |||||
| 42 | <div class="panel header"> | 77 | <div class="panel header"> | |||
| 43 | <div class="top-panel"> | 78 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 44 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 79 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 80 | </div> | |||||
| 81 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 82 | </div> | |||||
| 83 | </div> | |||||
| 84 | </div> | |||||
| 85 | </div> | |||||
| 86 | </div> | |||||
| 87 | <div class="header-main"> | |||||
| 88 | <div class="header content header-row"> | |||||
| 89 | <div class="header-left"> | |||||
| 45 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 90 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 46 | <div class="top-links-area"> | 91 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 47 | <a class="top-links-icon" href="javascript:void(0)">links</a> | |||||
| 48 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 49 | </div> | 92 | </div> | |||
| 50 | <?php echo $this->getChildHtml("custom_block"); ?> | 93 | <div class="header-center"> | |||
| 51 | <div class="search-area | 94 | <div class="search-area show-icon-tablet"> | |||
| 52 | <a href="javascript:void(0) | 95 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||
| 53 | <?php echo $this->getChildHtml("top.search"); ?> | 96 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 54 | </div> | 97 | </div> | |||
| 55 | </div> | 98 | </div> | |||
| 56 | <div class="bottom-panel"> | 99 | <div class="header-right"> | |||
| 57 | <?php echo $this->getChildHtml("currency"); ?> | 100 | <div class="header-contact"> | |||
| 58 | <?php echo $this->getChildHtml("store_language"); ?> | 101 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 102 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 103 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-1" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 104 | </div> | |||||
| 59 | <?php echo $this->getChildHtml("minicart"); ?> | 105 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 60 | </div> | 106 | </div> | |||
| 61 | </div> | 107 | </div> | |||
| 62 | </div> | 108 | </div> | |||
| 63 | <?php elseif($header_type == 13): ?> | |||||
| 64 | <div class="header content"> | |||||
| 65 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 66 | <div class="panel header"> | |||||
| 67 | <div class="top-panel"> | |||||
| 68 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 69 | <div class="menu-area"> | |||||
| 70 | <a href="javascript:void(0)" class="shop-menu">Shop</a> | |||||
| 71 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 109 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 110 | <?php elseif($header_type == 3): ?> | |||||
| 111 | <div class="main-panel-top"> | |||||
| 112 | <div class="container"> | |||||
| 113 | <div class="main-panel-inner"> | |||||
| 114 | <div class="panel wrapper"> | |||||
| 115 | <div class="header-left"> | |||||
| 116 | <?php echo $header2_text;?> | |||||
| 72 | </div> | 117 | </div> | |||
| 73 | <div class="top-links-area"> | 118 | <div class="header-right"> | |||
| 74 | <a class="top-links-icon" href="javascript:void(0)">links</a> | 119 | <div class="panel header show-icon-tablet"> | |||
| 75 | <?php echo $this->getChildHtml("header.links"); ?> | 120 | <div class="top-links-icon" | |||
| 121 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 76 | </div> | 122 | </div> | |||
| 77 | <?php if(isset($header_new_skin) && $header_new_skin):?> | 123 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 78 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 79 | <?php endif;?> | |||||
| 80 | </div> | 124 | </div> | |||
| 81 | <div class="bottom-panel | 125 | <span class="separator"></span> | |||
| 126 | <div class=" | |||||
| 82 | <?php echo $this->getChildHtml("currency"); ?> | 127 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 83 | <?php echo $this->getChildHtml("store_language"); ?> | 128 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 129 | </div> | |||||
| 130 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 131 | </div> | |||||
| 132 | </div> | |||||
| 133 | </div> | |||||
| 134 | </div> | |||||
| 135 | </div> | |||||
| 136 | <div class="header-main"> | |||||
| 137 | <div class="header content header-row"> | |||||
| 138 | <div class="header-left"> | |||||
| 139 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 140 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 141 | </div> | |||||
| 142 | <div class="header-right"> | |||||
| 84 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 143 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 85 | <div class="search-area | 144 | <div class="search-area show-icon"> | |||
| 86 | <a href="javascript:void(0) | 145 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||
| 87 | <?php echo $this->getChildHtml("top.search"); ?> | 146 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 88 | </div> | 147 | </div> | |||
| 148 | <div class="header-contact"> | |||||
| 149 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 150 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-1" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 151 | </div> | |||||
| 89 | <?php echo $this->getChildHtml("minicart"); ?> | 152 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 90 | </div> | 153 | </div> | |||
| 91 | </div> | 154 | </div> | |||
| 92 | </div> | 155 | </div> | |||
| 93 | <?php elseif($header_type == 5): ?> | 156 | <?php elseif($header_type == 4): ?> | |||
| 94 | <div class="panel wrapper"> | 157 | <div class="header-main"> | |||
| 158 | <div class="header content header-row"> | |||||
| 159 | <div class="header-left"> | |||||
| 160 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 161 | </div> | |||||
| 162 | <div class="header-center"> | |||||
| 163 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 164 | </div> | |||||
| 165 | <div class="header-right"> | |||||
| 166 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 95 | <div class="panel header"> | 167 | <div class="panel header"> | |||
| 96 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 97 | <?php echo $this->getChildHtml("currency"); ?> | 168 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 98 | <?php echo $this->getChildHtml("store_language"); ?> | 169 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 99 | <?php if(isset($header_new_skin) && $header_new_skin):?> | |||||
| 100 | <div class="top-links-area"> | |||||
| 101 | <div class="top-links-icon"><a href="javascript:void(0)"><?php echo __('links');?></a></div> | |||||
| 102 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 103 | </div> | 170 | </div> | |||
| 104 | <?php echo $this->getChildHtml("custom_block"); ?> | 171 | <div class="header-links panel header show-icon"> | |||
| 105 | <?php endif;?> | 172 | <div class="top-links-icon"> | |||
| 106 | <?php if(!isset($header_new_skin) || !$header_new_skin):?> | 173 | <a href="javascript:;"><?php echo __('Links');?></a> | |||
| 174 | </div> | |||||
| 107 | <?php echo $this->getChildHtml("header.links"); ?> | 175 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 108 | <?php endif;?> | |||||
| 109 | </div> | 176 | </div> | |||
| 177 | <div class="header-contact"> | |||||
| 178 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account mr-1 mr-lg-2" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 179 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-1" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 110 | </div> | 180 | </div> | |||
| 111 | <div class="header content"> | 181 | <div class="search-area show-icon"> | |||
| 112 | <?php echo $this->getChildHtml("logo"); ?> | 182 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||
| 113 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 114 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 115 | <div class="search-area | |||||
| 116 | <a href="javascript:void(0) | |||||
| 117 | <?php echo $this->getChildHtml("top.search"); ?> | 183 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 118 | </div> | 184 | </div> | |||
| 119 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 185 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 120 | </div> | 186 | </div> | |||
| 121 | <?php elseif($header_type == 6): ?> | 187 | </div> | |||
| 188 | </div> | |||||
| 189 | <?php elseif($header_type == 5): ?> | |||||
| 190 | <div class="main-panel-top"> | |||||
| 191 | <div class="container"> | |||||
| 192 | <div class="main-panel-inner"> | |||||
| 122 | <div class="panel wrapper"> | 193 | <div class="panel wrapper"> | |||
| 194 | <div class="header-left"> | |||||
| 123 | <div class="panel header"> | 195 | <div class="panel header"> | |||
| 124 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 125 | <?php echo $this->getChildHtml("currency"); ?> | 196 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 126 | <?php echo $this->getChildHtml("store_language"); ?> | 197 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 198 | </div> | |||||
| 199 | </div> | |||||
| 200 | <div class="header-right"> | |||||
| 201 | <div class="panel header show-icon-tablet"> | |||||
| 202 | <div class="top-links-icon"> | |||||
| 203 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 204 | </div> | |||||
| 127 | <?php echo $this->getChildHtml("header.links"); ?> | 205 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 128 | </div> | 206 | </div> | |||
| 207 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 129 | </div> | 208 | </div> | |||
| 130 | <div class="header content"> | 209 | </div> | |||
| 131 | <?php echo $this->getChildHtml("logo"); ?> | 210 | </div> | |||
| 132 | <?php echo $this->getChildHtml("minicart"); ?> | 211 | </div> | |||
| 212 | </div> | |||||
| 213 | <div class="header-main"> | |||||
| 214 | <div class="header content header-row"> | |||||
| 215 | <div class="header-left"> | |||||
| 133 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 216 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 134 | <div class="search-area | 217 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 135 | <a href="javascript:void(0) | 218 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 219 | <span class="separator"></span> | |||||
| 220 | <div class="search-area show-icon"> | |||||
| 221 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 136 | <?php echo $this->getChildHtml("top.search"); ?> | 222 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 137 | </div> | 223 | </div> | |||
| 224 | </div> | |||||
| 225 | <div class="header-right"> | |||||
| 226 | <div class="header-contact"> | |||||
| 138 | <?php echo $this->getChildHtml("custom_block"); ?> | 227 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 139 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 140 | </div> | 228 | </div> | |||
| 141 | <?php elseif($header_type == 7 ): ?> | 229 | <span class="separator"></span> | |||
| 142 | <div class="panel wrapper"> | |||||
| 143 | <div class="panel header"> | |||||
| 144 | <?php if(!isset($header_new_skin) || !$header_new_skin): ?> | |||||
| 145 | <?php echo $this->getChildHtml("minicart"); ?> | 230 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 146 | <?php endif; ?> | |||||
| 147 | <div class="search-area"> | |||||
| 148 | <a href="javascript:void(0)" class="search-toggle-icon"><em class="porto-icon-search"></em><?php echo __('Search'); ?></a> | |||||
| 149 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 150 | </div> | 231 | </div> | |||
| 151 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 232 | </div> | |||
| 233 | </div> | |||||
| 234 | <?php elseif($header_type == 6): ?> | |||||
| 235 | <div class="main-panel-top"> | |||||
| 236 | <div class="container"> | |||||
| 237 | <div class="main-panel-inner"> | |||||
| 238 | <div class="panel wrapper"> | |||||
| 239 | <div class="header-left"> | |||||
| 240 | <div class="panel header"> | |||||
| 152 | <?php echo $this->getChildHtml("currency"); ?> | 241 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 153 | <?php echo $this->getChildHtml("store_language"); ?> | 242 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 154 | <?php if(isset($header_new_skin) && $header_new_skin): ?> | 243 | </div> | |||
| 155 | <?php echo $this->getChildHtml("minicart"); ?> | 244 | </div> | |||
| 156 | <?php endif; ?> | 245 | <div class="header-right"> | |||
| 157 | <span class="split"></span> | 246 | <div class="panel header show-icon-tablet"> | |||
| 158 | <div class="toplinks-area"> | 247 | <div class="top-links-icon"> | |||
| 159 | <a href="javascript:void(0)" class="top-links-icon"><?php echo __('Links'); ?></a> | 248 | <a href="javascript:;"><?php echo __('Links'); | |||
| 249 | </div> | |||||
| 160 | <?php echo $this->getChildHtml("header.links"); ?> | 250 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 161 | </div> | 251 | </div> | |||
| 162 | <span class="split"></span> | 252 | <span class="separator"></span> | |||
| 253 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 254 | </div> | |||||
| 255 | </div> | |||||
| 256 | </div> | |||||
| 257 | </div> | |||||
| 258 | </div> | |||||
| 259 | <div class="header-main"> | |||||
| 260 | <div class="header content header-row"> | |||||
| 261 | <div class="header-left"> | |||||
| 262 | <div class="header-contact"> | |||||
| 163 | <?php echo $this->getChildHtml("custom_block"); ?> | 263 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 164 | </div> | 264 | </div> | |||
| 165 | </div> | 265 | </div> | |||
| 166 | <div class="header content"> | 266 | <div class="header-center"> | |||
| 167 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 168 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 267 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 169 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 268 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 170 | </div> | 269 | </div> | |||
| 171 | <?php elseif($header_type == 8): ?> | 270 | <div class="header-right"> | |||
| 271 | <div class="header-contact"> | |||||
| 272 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 273 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 274 | </div> | |||||
| 275 | <div class="search-area show-icon"> | |||||
| 276 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 277 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 278 | </div> | |||||
| 279 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 280 | </div> | |||||
| 281 | </div> | |||||
| 282 | </div> | |||||
| 283 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 284 | <?php elseif($header_type == 7): ?> | |||||
| 285 | <div class="main-panel-top"> | |||||
| 286 | <div class="container"> | |||||
| 287 | <div class="main-panel-inner"> | |||||
| 172 | <div class="panel wrapper"> | 288 | <div class="panel wrapper"> | |||
| 289 | <div class="header-left"> | |||||
| 173 | <div class="panel header"> | 290 | <div class="panel header"> | |||
| 174 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 175 | <?php echo $this->getChildHtml("currency"); ?> | 291 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 176 | <?php echo $this->getChildHtml("store_language"); ?> | 292 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 293 | </div> | |||||
| 294 | </div> | |||||
| 295 | <div class="header-right"> | |||||
| 296 | <div class="panel header show-icon-tablet"> | |||||
| 297 | <div class="top-links-icon"> | |||||
| 298 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 299 | </div> | |||||
| 177 | <?php echo $this->getChildHtml("header.links"); ?> | 300 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 178 | </div> | 301 | </div> | |||
| 302 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 179 | </div> | 303 | </div> | |||
| 180 | <div class="header content"> | 304 | </div> | |||
| 181 | <?php echo $this->getChildHtml("logo"); ?> | 305 | </div> | |||
| 182 | <?php echo $this->getChildHtml("minicart"); ?> | 306 | </div> | |||
| 307 | </div> | |||||
| 308 | <div class="header-main"> | |||||
| 309 | <div class="header content header-row"> | |||||
| 310 | <div class="header-left"> | |||||
| 183 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 311 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 312 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 313 | </div> | |||||
| 314 | <div class="header-center"> | |||||
| 315 | <div class="search-area show-icon-tablet"> | |||||
| 316 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 184 | <?php echo $this->getChildHtml("top.search"); ?> | 317 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 318 | </div> | |||||
| 319 | </div> | |||||
| 320 | <div class="header-right"> | |||||
| 321 | <div class="header-contact"> | |||||
| 185 | <?php echo $this->getChildHtml("custom_block"); ?> | 322 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 323 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account m-l-xs mr-1 mr-lg-2" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 324 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-1 mr-lg-2 pr-lg-1" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 186 | </div> | 325 | </div> | |||
| 187 | <div class="menu-container"> | 326 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 327 | </div> | |||||
| 328 | </div> | |||||
| 329 | </div> | |||||
| 330 | <div class="main-menu-wrap"> | |||||
| 331 | <div class=" | |||||
| 188 | <?php | 332 | <?php | |||
| 189 | $toggle_text = $this->getConfig('porto_settings/header/toggle_text'); | 333 | $toggle_text = $this->getConfig('porto_settings/header/toggle_text'); | |||
| 190 | $custom_block_id_8 =$this->getConfig('porto_settings/header/static_block_8'); | 334 | $custom_block_id_7 =$this->getConfig('porto_settings/header/static_block_7'); | |||
| 191 | ?> | 335 | ?> | |||
| 192 | <div class="container"> | 336 | <div class="row"> | |||
| 193 | <div class="menu-wrapper"> | 337 | <div class="col-lg-3 sidebar"> | |||
| 194 | <div class="drop-menu"> | 338 | <div class="drop-menu"> | |||
| 195 | <a href="javascript:void(0)"> | 339 | <a href="javascript:void(0)"> | |||
| 196 | <?php echo $toggle_text; ?> | 340 | <?php echo $toggle_text; ?> | |||
| 197 | </a> | 341 | </a> | |||
| 198 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 342 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 199 | </div> | 343 | </div> | |||
| 200 | <div class="custom-menu-block"> | 344 | </div> | |||
| 345 | <div class="col-lg-9"> | |||||
| 201 | <?php | 346 | <?php | |||
| 202 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | 347 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | |||
| 203 | if($block) { | 348 | if($block) { | |||
| 204 | $block->setBlockId($custom_block_id_8); | 349 | $block->setBlockId($custom_block_id_7); | |||
| 205 | } | 350 | } | |||
| 206 | if($block){ | 351 | if($block){ | |||
| 207 | echo $block->toHtml(); | 352 | echo $block->toHtml(); | |||
| 208 | } | 353 | } | |||
| 209 | ?> | 354 | ?> | |||
| 210 | </div> | 355 | </div> | |||
| 211 | </div> | 356 | </div> | |||
| 212 | </div> | 357 | </div> | |||
| 213 | </div> | 358 | </div> | |||
| 214 | <?php elseif($header_type == 10): ?> | 359 | <script type="text/javascript"> | |||
| 215 | <div class="switcher-area"> | 360 | require([ | |||
| 216 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 361 | 'jquery' | |||
| 362 | ], function ($) { | |||||
| 363 | $(document).ready(function(){ | |||||
| 364 | $(".drop-menu > a").off("click").on("click", function(){ | |||||
| 365 | if($(this).parent().children(".nav-sections").hasClass("visible")) { | |||||
| 366 | $(this).parent().children(".nav-sections").removeClass("visible"); | |||||
| 367 | $(this).removeClass("active"); | |||||
| 368 | } | |||||
| 369 | else { | |||||
| 370 | $(this).parent().children(".nav-sections").addClass("visible"); | |||||
| 371 | $(this).addClass("active"); | |||||
| 372 | } | |||||
| 373 | }); | |||||
| 374 | }); | |||||
| 375 | }); | |||||
| 376 | </script> | |||||
| 377 | <?php elseif($header_type == 8): ?> | |||||
| 378 | <div class="main-panel-top"> | |||||
| 379 | <div class="container"> | |||||
| 380 | <div class="main-panel-inner"> | |||||
| 381 | <div class="panel wrapper"> | |||||
| 382 | <div class="panel header"> | |||||
| 217 | <?php echo $this->getChildHtml("currency"); ?> | 383 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 218 | <?php echo $this->getChildHtml("store_language"); ?> | 384 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 385 | </div> | |||||
| 386 | <div class="header-cart"> | |||||
| 387 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 388 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 219 | <?php echo $this->getChildHtml("minicart"); ?> | 389 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 220 | </div> | 390 | </div> | |||
| 221 | <div class="header content | 391 | </div> | |||
| 222 | <?php echo $this->getChildHtml("logo"); ?> | 392 | </div> | |||
| 393 | </div> | |||||
| 394 | </div> | |||||
| 395 | <div class="header-main"> | |||||
| 396 | <div class="header content header-row"> | |||||
| 397 | <div class="header-left"> | |||||
| 223 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 398 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 224 | <?php if(isset($header_new_skin) && $header_new_skin):?> | 399 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 225 | <?php echo $this->getChildHtml("top.search"); ?> | 400 | <div class="search-area show-icon-tablet"> | |||
| 226 | <?php endif;?> | 401 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||
| 227 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 228 | <?php if(!isset($header_new_skin) || !$header_new_skin):?> | |||||
| 229 | <?php echo $this->getChildHtml("top.search"); ?> | 402 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 230 | <?php endif;?> | |||||
| 231 | </div> | 403 | </div> | |||
| 232 | <div class="panel wrapper"> | 404 | </div> | |||
| 405 | <div class="header-center"> | |||||
| 406 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 233 | <div class="panel header"> | 407 | <div class="panel header"> | |||
| 408 | <div class="top-links-icon"> | |||||
| 409 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 410 | </div> | |||||
| 234 | <?php echo $this->getChildHtml("header.links"); ?> | 411 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 235 | </div> | 412 | </div> | |||
| 236 | </div> | 413 | </div> | |||
| 237 | <div class="custom-block-area"> | 414 | <div class="header-right"> | |||
| 238 | <?php echo $this->getChildHtml("custom_block"); ?> | 415 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 239 | </div> | 416 | </div> | |||
| 240 | <?php elseif($header_type == 14 ): ?> | 417 | </div> | |||
| 241 | <div class="header content"> | 418 | </div> | |||
| 242 | <?php echo $this->getChildHtml("logo"); ?> | 419 | <script type="text/javascript"> | |||
| 420 | require([ | |||||
| 421 | 'jquery' | |||||
| 422 | ], function ($) { | |||||
| 423 | if($(".page-header.type8").length > 0) { | |||||
| 424 | $(".page-wrapper").addClass('side-nav'); | |||||
| 425 | } | |||||
| 426 | $(window).scroll(function() { | |||||
| 427 | var side_header_height = $(".page-header.type8").innerHeight(); | |||||
| 428 | var window_height = $(window).height(); | |||||
| 429 | if(side_header_height-window_height<$(window).scrollTop()){ | |||||
| 430 | if(!$(".page-header.type8").hasClass("fixed-bottom")) { | |||||
| 431 | $(".page-header.type8").addClass("fixed-bottom"); | |||||
| 432 | } | |||||
| 433 | } | |||||
| 434 | if(side_header_height-window_height>=$(window).scrollTop()){ | |||||
| 435 | if($(".page-header.type8").hasClass("fixed-bottom")) { | |||||
| 436 | $(".page-header.type8").removeClass("fixed-bottom"); | |||||
| 437 | } | |||||
| 438 | } | |||||
| 439 | if($(".page-wrapper.side-nav > .breadcrumbs").length) { | |||||
| 440 | if(!$(".page-wrapper.side-nav > .breadcrumbs").hasClass("fixed-position")) { | |||||
| 441 | breadcrumb_pos_top = $(".page-wrapper.side-nav > .breadcrumbs").offset().top; | |||||
| 442 | if($(".page-wrapper.side-nav > .breadcrumbs").offset().top<$(window).scrollTop()) { | |||||
| 443 | $(".page-wrapper.side-nav > .breadcrumbs").addClass("fixed-position"); | |||||
| 444 | } | |||||
| 445 | } | |||||
| 446 | else { | |||||
| 447 | if($(window).scrollTop()<=1) { | |||||
| 448 | $(".page-wrapper.side-nav > .breadcrumbs").removeClass("fixed-position"); | |||||
| 449 | } | |||||
| 450 | } | |||||
| 451 | } | |||||
| 452 | }); | |||||
| 453 | if($(window).width() <= 991){ | |||||
| 454 | if($('.page-header.type8 .header-cart .minicart-wrapper')){ | |||||
| 455 | $('.page-header.type8 .header-cart .minicart-wrapper').after('<div class="minicart-place hide"></div>'); | |||||
| 456 | var minicart = $('.page-header.type8 .header-cart .minicart-wrapper').detach(); | |||||
| 457 | $('.page-header.type8 .header-main .header-right').append(minicart); | |||||
| 458 | } | |||||
| 459 | } | |||||
| 460 | $(window).resize(function(){ | |||||
| 461 | var b_w = $(window).width(); | |||||
| 462 | if(b_w <= 991){ | |||||
| 463 | if($('.page-header.type8 .header-cart .minicart-wrapper')){ | |||||
| 464 | $('.page-header.type8 .header-cart .minicart-wrapper').after('<div class="minicart-place hide"></div>'); | |||||
| 465 | var minicart = $('.page-header.type8 .header-cart .minicart-wrapper').detach(); | |||||
| 466 | $('.page-header.type8 .header-main .header-right').append(minicart); | |||||
| 467 | } | |||||
| 468 | } | |||||
| 469 | if(b_w > 991){ | |||||
| 470 | if($('.page-header.type8 .header-main .header-right .minicart-wrapper').length > 0) { | |||||
| 471 | var minicart; | |||||
| 472 | minicart = $('.page-header.type8 .header-main .header-right .minicart-wrapper').detach(); | |||||
| 473 | $('.minicart-place').after(minicart); | |||||
| 474 | $('.minicart-place').remove(); | |||||
| 475 | $('.page-header .minicart-wrapper-moved').addClass("minicart-wrapper").removeClass("minicart-wrapper-moved").removeClass("hide"); | |||||
| 476 | } | |||||
| 477 | } | |||||
| 478 | }); | |||||
| 479 | }); | |||||
| 480 | </script> | |||||
| 481 | <?php elseif($header_type == 9): ?> | |||||
| 482 | <div class="main-panel-top"> | |||||
| 483 | <div class="container"> | |||||
| 484 | <div class="main-panel-inner"> | |||||
| 485 | <div class="panel wrapper"> | |||||
| 486 | <div class="header-left"> | |||||
| 487 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 488 | </div> | |||||
| 489 | <div class="header-right"> | |||||
| 243 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 490 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 244 | <div class="panel header"> | |||||
| 245 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 246 | <?php echo $this->getChildHtml("currency"); ?> | 491 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 247 | <?php echo $this->getChildHtml("store_language"); ?> | 492 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 248 | <div class="search-area"> | |||||
| 249 | <a href="javascript:void(0)" class="search-toggle-icon"><i class="fas fa-search"></i><span><?php echo __('Search'); ?></span></a> | |||||
| 250 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 251 | </div> | 493 | </div> | |||
| 252 | <div class="top-links-area"> | |||||
| 253 | <div class="top-links-icon"><a href="javascript:void(0)"><i class="far fa-user"></i><span><?php echo __('links');?></span></a></div> | |||||
| 254 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 255 | </div> | 494 | </div> | |||
| 256 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="far fa-heart"></i></a> | |||||
| 257 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 258 | </div> | 495 | </div> | |||
| 259 | </div> | 496 | </div> | |||
| 260 | <?php elseif($header_type == 15 ): ?> | |||||
| 261 | <div class="header content"> | |||||
| 262 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 263 | <div class="header-right-area"> | |||||
| 264 | <div class="switcher-area"> | |||||
| 265 | <div class="search-area"> | |||||
| 266 | <a href="javascript:void(0)" class="search-toggle-icon"><i class="porto-icon-search"></i><span><?php echo __('Search'); ?></span></a> | |||||
| 267 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 268 | </div> | 497 | </div> | |||
| 269 | <div class="cart-area"> | 498 | <div class="header-main"> | |||
| 499 | <div class="header content header-row"> | |||||
| 500 | <div class="header-left"> | |||||
| 270 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 501 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 271 | <?php echo $this->getChildHtml("currency"); ?> | 502 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 272 | <?php echo $this->getChildHtml("store_language"); ?> | |||||
| 273 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 274 | </div> | 503 | </div> | |||
| 504 | <div class="header-right"> | |||||
| 505 | <div class="search-area show-icon-tablet"> | |||||
| 506 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 507 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 508 | </div> | |||||
| 509 | <div class="panel header my-account show-icon ml-lg-4 mr-1"> | |||||
| 510 | <div class="top-links-icon"> | |||||
| 511 | <a href="javascript:;"><i class="porto-icon-user-2"></i></a> | |||||
| 275 | </div> | 512 | </div> | |||
| 276 | <div class="header-link-area"> | |||||
| 277 | <div class="top-links-area panel header"> | |||||
| 278 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 279 | <?php echo $this->getChildHtml("header.links"); ?> | 513 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 280 | </div> | 514 | </div> | |||
| 281 | <div class="main-link"> | 515 | <span class="separator"></span> | |||
| 282 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 516 | <div class="header-contact mr-1"> | |||
| 517 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 283 | </div> | 518 | </div> | |||
| 519 | <span class="separator"></span> | |||||
| 520 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 284 | </div> | 521 | </div> | |||
| 285 | </div> | 522 | </div> | |||
| 286 | </div> | 523 | </div> | |||
| 287 | <?php elseif($header_type == 2 && isset($header_new_skin) && $header_new_skin): ?> | 524 | <?php elseif($header_type == 10): ?> | |||
| 288 | <div class="main-panel-top"> | 525 | <div class="main-panel-top"> | |||
| 289 | <div class="container"> | 526 | <div class="container"> | |||
| 290 | <div class="main-panel-inner"> | 527 | <div class="main-panel-inner"> | |||
| 291 | <div class="panel wrapper"> | 528 | <div class="panel wrapper"> | |||
| 529 | <div class="header-left"> | |||||
| 292 | <div class="panel header"> | 530 | <div class="panel header"> | |||
| 293 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 294 | <?php echo $this->getChildHtml("currency"); ?> | 531 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 295 | <?php echo $this->getChildHtml("store_language"); ?> | 532 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 533 | </div> | |||||
| 534 | </div> | |||||
| 535 | <div class="header-right"> | |||||
| 536 | <div class="panel header show-icon-tablet"> | |||||
| 537 | <div class="top-links-icon"> | |||||
| 538 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 539 | </div> | |||||
| 296 | <?php echo $this->getChildHtml("header.links"); ?> | 540 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 297 | </div> | 541 | </div> | |||
| 542 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 298 | </div> | 543 | </div> | |||
| 299 | </div> | 544 | </div> | |||
| 300 | </div> | 545 | </div> | |||
| 301 | </div> | 546 | </div> | |||
| 302 | <div class="header content | 547 | </div> | |||
| 548 | <div class="header-main"> | |||||
| 549 | <div class="header content header-row"> | |||||
| 550 | <div class="header-left"> | |||||
| 303 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 551 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 304 | <?php echo $this->getChildHtml("logo"); ?> | 552 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 305 | <?php echo $this->getChildHtml("minicart"); ?> | 553 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 306 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-icon-heart-empty"></i></a> | 554 | </div> | |||
| 555 | <div class="header-right"> | |||||
| 556 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 557 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class=" | |||||
| 558 | <div class="search-area show-icon"> | |||||
| 559 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 307 | <?php echo $this->getChildHtml("top.search"); ?> | 560 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 308 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 309 | </div> | 561 | </div> | |||
| 310 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 562 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 311 | <?php elseif($header_type == 18 ): ?> | 563 | </div> | |||
| 564 | </div> | |||||
| 565 | </div> | |||||
| 566 | <?php elseif($header_type == 11): ?> | |||||
| 312 | <div class="main-panel-top"> | 567 | <div class="main-panel-top"> | |||
| 313 | <div class="container"> | 568 | <div class="container"> | |||
| 314 | <div class="main-panel-inner"> | 569 | <div class="main-panel-inner"> | |||
| 315 | <div class="panel wrapper"> | 570 | <div class="panel wrapper"> | |||
| 316 | <div class="panel header | 571 | <div class=" | |||
| 317 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 572 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||
| 318 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 319 | </div> | 573 | </div> | |||
| 574 | <div class="header-right"> | |||||
| 575 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 576 | <?php echo $this->getChildHtml("currency"); ?> | |||||
| 577 | <?php echo $this->getChildHtml("store_language"); ?> | |||||
| 320 | </div> | 578 | </div> | |||
| 321 | </div> | 579 | </div> | |||
| 322 | </div> | 580 | </div> | |||
| 323 | </div> | 581 | </div> | |||
| 324 | <div class="header content"> | |||||
| 325 | <div class="select-area"> | |||||
| 326 | <?php echo $this->getChildHtml("currency"); ?> | |||||
| 327 | <?php echo $this->getChildHtml("store_language"); ?> | |||||
| 328 | </div> | 582 | </div> | |||
| 583 | <div class="header-main"> | |||||
| 584 | <div class="header content header-row"> | |||||
| 585 | <div class="header-left"> | |||||
| 329 | <?php echo $this->getChildHtml("logo"); ?> | 586 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 330 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 331 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 332 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 333 | </div> | 587 | </div> | |||
| 588 | <div class="header-right"> | |||||
| 589 | <div class="porto-popup-menu"> | |||||
| 590 | <button class="hamburguer-btn"> | |||||
| 591 | <span class="hamburguer"> | |||||
| 592 | <span></span> | |||||
| 593 | <span></span> | |||||
| 594 | <span></span> | |||||
| 595 | </span> | |||||
| 596 | <span class="close"><span></span><span></span></span> | |||||
| 597 | </button> | |||||
| 334 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 598 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 335 | <?php elseif($header_type == 20 ): ?> | 599 | </div> | |||
| 336 | <div class="header content"> | 600 | <span class="separator"></span> | |||
| 337 | <?php echo $this->getChildHtml("logo"); ?> | 601 | <div class="search-area show-icon"> | |||
| 338 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 602 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||
| 339 | <div class="panel header"> | |||||
| 340 | <div class="top-panel"> | |||||
| 341 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 342 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 343 | <div class="search-area | |||||
| 344 | <a href="javascript:void(0) | |||||
| 345 | <?php echo $this->getChildHtml("top.search"); ?> | 603 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 346 | </div> | 604 | </div> | |||
| 347 | <?php echo $this->getChildHtml("currency"); ?> | 605 | <span class="separator"></span> | |||
| 348 | <?php echo $this->getChildHtml("store_language"); ?> | 606 | <div class="panel header my-account show-icon px-sm-1"> | |||
| 607 | <div class="top-links-icon"> | |||||
| 608 | <a href="javascript:;"><i class="porto-icon-user-2"></i></a> | |||||
| 349 | </div> | 609 | </div> | |||
| 350 | <div class="bottom-panel"> | |||||
| 351 | <div class="top-links-area"> | |||||
| 352 | <div class="top-links-icon"><a href="javascript:void(0)"><?php echo __('links');?></a></div> | |||||
| 353 | <?php echo $this->getChildHtml("header.links"); ?> | 610 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 354 | </div> | 611 | </div> | |||
| 355 | <?php echo $this->getChildHtml("custom_block"); ?> | 612 | <span class="separator"></span> | |||
| 613 | <div class="header-contact mr-1"> | |||||
| 614 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 615 | </div> | |||||
| 616 | <span class="separator"></span> | |||||
| 356 | <?php echo $this->getChildHtml("minicart"); ?> | 617 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 357 | </div> | 618 | </div> | |||
| 358 | </div> | 619 | </div> | |||
| 359 | </div> | 620 | </div> | |||
| 360 | <?php elseif($header_type == 17 ): ?> | 621 | <script type="text/javascript"> | |||
| 361 | <div class="header content"> | 622 | require([ | |||
| 362 | <?php echo $this->getChildHtml("logo"); ?> | 623 | 'jquery' | |||
| 624 | ], function ($) { | |||||
| 625 | $('.porto-popup-menu .hamburguer-btn').on('click', function(e) { | |||||
| 626 | e.preventDefault(); | |||||
| 627 | var $this = $(this); | |||||
| 628 | if ($('.porto-popup-menu-spacer').length) { | |||||
| 629 | $('.porto-popup-menu-spacer').remove(); | |||||
| 630 | } else { | |||||
| 631 | $('<div class="porto-popup-menu-spacer"></div>').insertBefore($this.parent()); | |||||
| 632 | $('.porto-popup-menu-spacer').width($this.parent().width()); | |||||
| 633 | } | |||||
| 634 | $this.parent().toggleClass('opened'); | |||||
| 635 | $this.toggleClass('active'); | |||||
| 636 | }); | |||||
| 637 | $('.porto-popup-menu .navigation li.parent > a').on('click', function(e) { | |||||
| 638 | e.preventDefault(); | |||||
| 639 | $(this).parent().siblings('li.parent.opened').removeClass('opened'); | |||||
| 640 | $(this).parent().toggleClass('opened'); | |||||
| 641 | }); | |||||
| 642 | }); | |||||
| 643 | </script> | |||||
| 644 | <?php elseif($header_type == 12): ?> | |||||
| 645 | <div class="main-panel-top"> | |||||
| 646 | <div class="container"> | |||||
| 647 | <div class="main-panel-inner"> | |||||
| 648 | <div class="panel wrapper"> | |||||
| 649 | <div class="header-left"> | |||||
| 363 | <div class="panel header"> | 650 | <div class="panel header"> | |||
| 364 | <div class="top-panel"> | 651 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 365 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 652 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 366 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 367 | <div class="top-links-area"> | |||||
| 368 | <div class="top-links-icon"><a href="javascript:void(0)"><?php echo __('links');?></a></div> | |||||
| 369 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 370 | </div> | 653 | </div> | |||
| 371 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 654 | <span class="separator"></span> | |||
| 372 | <div class="search-area | 655 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||
| 373 | <a href="javascript:void(0) | 656 | </div> | |||
| 657 | <div class="header-right"> | |||||
| 658 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 659 | <span class="separator"></span> | |||||
| 660 | <div class="search-area show-icon"> | |||||
| 661 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 374 | <?php echo $this->getChildHtml("top.search"); ?> | 662 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 375 | </div> | 663 | </div> | |||
| 664 | <div class="panel header show-icon"> | |||||
| 665 | <div class="top-links-icon"> | |||||
| 666 | <a href="javascript:;"><i class="porto-icon-user-2"></i></a> | |||||
| 667 | </div> | |||||
| 668 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 669 | </div> | |||||
| 670 | <div class="header-contact"> | |||||
| 671 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 376 | </div> | 672 | </div> | |||
| 377 | <div class="bottom-panel"> | |||||
| 378 | <?php echo $this->getChildHtml("currency"); ?> | |||||
| 379 | <?php echo $this->getChildHtml("store_language"); ?> | |||||
| 380 | <?php echo $this->getChildHtml("minicart"); ?> | 673 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 381 | </div> | 674 | </div> | |||
| 382 | </div> | 675 | </div> | |||
| 676 | </div> | |||||
| 677 | </div> | |||||
| 678 | </div> | |||||
| 679 | <div class="header-main"> | |||||
| 680 | <div class="header content header-row"> | |||||
| 681 | <div class="header-left flex-1"> | |||||
| 383 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 682 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 384 | </div> | 683 | </div> | |||
| 385 | <?php elseif($header_type == 19 ): ?> | 684 | <div class="header-center"> | |||
| 386 | <div class="header content"> | |||||
| 387 | <?php echo $this->getChildHtml("logo"); ?> | 685 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 388 | <?php echo $this->getChildHtml("minicart"); ?> | 686 | </div> | |||
| 687 | <div class="header-right flex-1"> | |||||
| 389 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 688 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 689 | </div> | |||||
| 690 | </div> | |||||
| 691 | </div> | |||||
| 692 | <?php elseif($header_type == 13): ?> | |||||
| 693 | <div class="main-panel-top"> | |||||
| 694 | <div class="container"> | |||||
| 695 | <div class="main-panel-inner"> | |||||
| 696 | <div class="panel wrapper"> | |||||
| 697 | <div class="header-left"> | |||||
| 698 | <div class="search-area show-icon-tablet"> | |||||
| 699 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 390 | <?php echo $this->getChildHtml("top.search"); ?> | 700 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 701 | </div> | |||||
| 702 | </div> | |||||
| 703 | <div class="header-right"> | |||||
| 704 | <div class="items-inner d-flex align-items-center"> | |||||
| 391 | <div class="panel header"> | 705 | <div class="panel header"> | |||
| 392 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 393 | <?php echo $this->getChildHtml("currency"); ?> | 706 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 394 | <?php echo $this->getChildHtml("store_language"); ?> | 707 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 395 | <div class="top-links-area"> | 708 | </div> | |||
| 396 | <div class="top-links-icon"><a href="javascript:void(0)"><?php echo __('links');?></a></div> | 709 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||
| 710 | <div class="panel header show-icon"> | |||||
| 711 | <div class="top-links-icon"> | |||||
| 712 | <a href="javascript:;"><i class="porto-icon-user-2"></i></a> | |||||
| 713 | </div> | |||||
| 397 | <?php echo $this->getChildHtml("header.links"); ?> | 714 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 398 | </div> | 715 | </div> | |||
| 716 | <div class="header-contact"> | |||||
| 717 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 718 | </div> | |||||
| 719 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 720 | </div> | |||||
| 721 | </div> | |||||
| 399 | </div> | 722 | </div> | |||
| 400 | </div> | 723 | </div> | |||
| 724 | </div> | |||||
| 725 | </div> | |||||
| 726 | <div class="header-main"> | |||||
| 727 | <div class="header content header-row"> | |||||
| 728 | <div class="header-left flex-1"> | |||||
| 401 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 729 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 402 | <?php elseif($header_type == 21): ?> | 730 | </div> | |||
| 731 | <div class="header-center"> | |||||
| 732 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 733 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 734 | </div> | |||||
| 735 | <div class="header-right d-flex flex-1"></div> | |||||
| 736 | </div> | |||||
| 737 | </div> | |||||
| 738 | <script type="text/javascript"> | |||||
| 739 | require([ | |||||
| 740 | 'jquery' | |||||
| 741 | ], function ($) { | |||||
| 742 | if($(window).width() <= 991){ | |||||
| 743 | if($('.page-header.type13 .main-panel-top .header-right .items-inner') && $('.page-header.type13 .main-panel-top .header-left')){ | |||||
| 744 | $('.page-header.type13 .main-panel-top .header-right .items-inner').after('<div class="item-right-place hide"></div>'); | |||||
| 745 | $('.page-header.type13 .main-panel-top .header-left .search-area').after('<div class="item-left-place hide"></div>'); | |||||
| 746 | var items_right = $('.page-header.type13 .main-panel-top .header-right .items-inner').detach(), | |||||
| 747 | items_left = $('.page-header.type13 .main-panel-top .header-left .search-area').detach(); | |||||
| 748 | ||||||
| 749 | $('.page-header.type13 .header-main .header-right').append(items_left); | |||||
| 750 | $('.page-header.type13 .header-main .header-right').append(items_right); | |||||
| 751 | } | |||||
| 752 | } | |||||
| 753 | $(window).resize(function(){ | |||||
| 754 | var b_w = $(window).width(); | |||||
| 755 | if(b_w <= 991){ | |||||
| 756 | if($('.page-header.type13 .main-panel-top .header-right .items-inner') && $('.page-header.type13 .main-panel-top .header-left')){ | |||||
| 757 | $('.page-header.type13 .main-panel-top .header-right .items-inner').after('<div class="item-right-place hide"></div>'); | |||||
| 758 | $('.page-header.type13 .main-panel-top .header-left .search-area').after('<div class="item-left-place hide"></div>'); | |||||
| 759 | var items_right = $('.page-header.type13 .main-panel-top .header-right .items-inner').detach(), | |||||
| 760 | items_left = $('.page-header.type13 .main-panel-top .header-left .search-area').detach(); | |||||
| 761 | ||||||
| 762 | $('.page-header.type13 .header-main .header-right').append(items_left); | |||||
| 763 | $('.page-header.type13 .header-main .header-right').append(items_right); | |||||
| 764 | } | |||||
| 765 | } | |||||
| 766 | if(b_w > 991){ | |||||
| 767 | if($('.page-header.type13 .header-main .header-right').length > 0) { | |||||
| 768 | var items_left = $('.page-header.type13 .header-main .header-right .search-area'), | |||||
| 769 | items_right = $('.page-header.type13 .header-main .header-right .items-inner').detach(); | |||||
| 770 | $('.item-right-place').after(items_right); | |||||
| 771 | $('.item-right-place').remove(); | |||||
| 772 | $('.item-left-place').after(items_left); | |||||
| 773 | $('.item-left-place').remove(); | |||||
| 774 | } | |||||
| 775 | } | |||||
| 776 | }); | |||||
| 777 | }); | |||||
| 778 | </script> | |||||
| 779 | <?php elseif($header_type == 14): ?> | |||||
| 403 | <div class="main-panel-top"> | 780 | <div class="main-panel-top"> | |||
| 404 | <div class="container"> | 781 | <div class="container"> | |||
| 405 | <div class="main-panel-inner"> | 782 | <div class="main-panel-inner"> | |||
| 406 | <div class="panel wrapper"> | 783 | <div class="panel wrapper"> | |||
| 407 | <div class="panel header | 784 | <div class=" | |||
| 408 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 785 | ||||
| 786 | </div> | |||||
| 787 | <div class="header-right"> | |||||
| 788 | <div class="panel header show-icon-tablet"> | |||||
| 789 | <div class="top-links-icon"> | |||||
| 790 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 791 | </div> | |||||
| 409 | <?php echo $this->getChildHtml("header.links"); ?> | 792 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 410 | </div> | 793 | </div> | |||
| 794 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 795 | </div> | |||||
| 411 | </div> | 796 | </div> | |||
| 412 | </div> | 797 | </div> | |||
| 413 | </div> | 798 | </div> | |||
| 414 | </div> | 799 | </div> | |||
| 415 | <div class="header content | 800 | <div class="header-main"> | |||
| 416 | <div class="header-main-left | 801 | <div class="header content header-row"> | |||
| 802 | <div class="header- | |||||
| 803 | <div class="panel header"> | |||||
| 417 | <?php echo $this->getChildHtml("currency"); ?> | 804 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 418 | <?php echo $this->getChildHtml("store_language"); ?> | 805 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 419 | </div> | 806 | </div> | |||
| 420 | <?php echo $this->getChildHtml("logo"); ?> | 807 | </div> | |||
| 421 | <div class="header-main-right"> | 808 | <div class="header-center"> | |||
| 422 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 809 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 810 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 811 | </div> | |||||
| 812 | <div class="header-right flex-1"> | |||||
| 813 | <div class="header-contact"> | |||||
| 423 | <?php echo $this->getChildHtml("custom_block"); ?> | 814 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 424 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-icon-heart-empty"></i></a> | 815 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist ml-4" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||
| 425 | <div class="search-area"> | |||||
| 426 | <a href="javascript:void(0)" class="search-toggle-icon"><i class="porto-icon-search"></i><span><?php echo __('Search'); ?></a> | |||||
| 427 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 428 | </div> | 816 | </div> | |||
| 429 | <?php echo $this->getChildHtml("minicart"); ?> | 817 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 430 | </div> | 818 | </div> | |||
| 431 | </div> | 819 | </div> | |||
| 432 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 820 | </div> | |||
| 433 | <?php elseif($header_type == 22): ?> | 821 | <div class="header-bottom"> | |||
| 822 | <div class="header-row"> | |||||
| 823 | <div class="header-col header-left flex-1"><?php echo $this->getChildHtml("custom_block_menu"); ?></div> | |||||
| 824 | <div class="header-col header-center flex-1"><?php echo $this->getChildHtml("navigation.sections"); ?></div> | |||||
| 825 | <div class="header-col header-right flex-1"> | |||||
| 826 | <div class="search-area show-icon"> | |||||
| 827 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i><span class="search-text"><?php echo __('Search')?></span></span></a> | |||||
| 828 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 829 | </div> | |||||
| 830 | </div> | |||||
| 831 | </div> | |||||
| 832 | </div> | |||||
| 833 | <script type="text/javascript"> | |||||
| 834 | require([ | |||||
| 835 | 'jquery' | |||||
| 836 | ], function ($) { | |||||
| 837 | if($(window).width() <= 991){ | |||||
| 838 | if($('.page-header.type14 .header-bottom .header-right .search-area')){ | |||||
| 839 | $('.page-header.type14 .header-bottom .header-right .search-area').after('<div class="item-search-place hide"></div>'); | |||||
| 840 | var item_search = $('.page-header.type14 .header-bottom .header-right .search-area').detach(); | |||||
| 841 | $('.page-header.type14 .header-main .header-right').append(item_search); | |||||
| 842 | } | |||||
| 843 | } | |||||
| 844 | $(window).resize(function(){ | |||||
| 845 | var b_w = $(window).width(); | |||||
| 846 | if(b_w <= 991){ | |||||
| 847 | if($('.page-header.type14 .header-bottom .header-right .search-area')){ | |||||
| 848 | $('.page-header.type14 .header-bottom .header-right .search-area').after('<div class="item-search-place hide"></div>'); | |||||
| 849 | var item_search = $('.page-header.type14 .header-bottom .header-right .search-area').detach(); | |||||
| 850 | $('.page-header.type14 .header-main .header-right').append(item_search); | |||||
| 851 | } | |||||
| 852 | } | |||||
| 853 | if(b_w > 991){ | |||||
| 854 | if($('.page-header.type14 .header-main .header-right .search-area').length > 0) { | |||||
| 855 | var item_search = $('.page-header.type14 .header-main .header-right .search-area').detach(); | |||||
| 856 | $('.item-search-place').after(item_search); | |||||
| 857 | $('.item-search-place').remove(); | |||||
| 858 | } | |||||
| 859 | } | |||||
| 860 | }); | |||||
| 861 | }); | |||||
| 862 | </script> | |||||
| 863 | <?php elseif($header_type == 15): ?> | |||||
| 864 | <div class="main-panel-top"> | |||||
| 865 | <div class="container"> | |||||
| 866 | <div class="main-panel-inner"> | |||||
| 434 | <div class="panel wrapper"> | 867 | <div class="panel wrapper"> | |||
| 868 | <div class="header-left"> | |||||
| 435 | <div class="panel header"> | 869 | <div class="panel header"> | |||
| 436 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 437 | <?php echo $this->getChildHtml("currency"); ?> | 870 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 438 | <?php echo $this->getChildHtml("store_language"); ?> | 871 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 872 | </div> | |||||
| 873 | </div> | |||||
| 874 | <div class="header-right"> | |||||
| 875 | <div class="panel header show-icon-tablet"> | |||||
| 876 | <div class="top-links-icon"> | |||||
| 877 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 878 | </div> | |||||
| 439 | <?php echo $this->getChildHtml("header.links"); ?> | 879 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 440 | </div> | 880 | </div> | |||
| 881 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 441 | </div> | 882 | </div> | |||
| 442 | <div class="header content | 883 | </div> | |||
| 443 | <?php echo $this->getChildHtml("logo"); ?> | 884 | </div> | |||
| 885 | </div> | |||||
| 886 | </div> | |||||
| 887 | <div class="header-main"> | |||||
| 888 | <div class="header content header-row"> | |||||
| 889 | <div class="header-left"> | |||||
| 444 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 890 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 891 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 445 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 892 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 446 | <div class="header-main-right"> | 893 | <?php echo $this->getChildHtml("custom_block_menu"); ?> | |||
| 447 | <div class="search-area | 894 | <span class="separator"></span> | |||
| 448 | <a href="javascript:void(0) | 895 | </div> | |||
| 896 | <div class="header- | |||||
| 897 | <div class="search-area show-icon-tablet-large"> | |||||
| 898 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span></a> | |||||
| 449 | <?php echo $this->getChildHtml("top.search"); ?> | 899 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 450 | </div> | 900 | </div> | |||
| 451 | <span class="separator"></span> | 901 | <span class="separator"></span> | |||
| 452 | <?php echo $this->getChildHtml("custom_block"); ?> | 902 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 453 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-icon-heart-empty"></i></a> | 903 | <div class="header-contact"> | |||
| 904 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class=" | |||||
| 905 | </div> | |||||
| 454 | <?php echo $this->getChildHtml("minicart"); ?> | 906 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 455 | </div> | 907 | </div> | |||
| 456 | </div> | 908 | </div> | |||
| 457 | <?php elseif($header_type == 23): ?> | 909 | </div> | |||
| 910 | <?php elseif($header_type == 16): ?> | |||||
| 458 | <div class="main-panel-top"> | 911 | <div class="main-panel-top"> | |||
| 459 | <div class="container"> | 912 | <div class="container"> | |||
| 460 | <div class="main-panel-inner"> | 913 | <div class="main-panel-inner"> | |||
| 461 | <div class="panel wrapper"> | 914 | <div class="panel wrapper"> | |||
| 915 | <div class="header-left"> | |||||
| 462 | <div class="panel header"> | 916 | <div class="panel header"> | |||
| 463 | <?php echo $this->getChildHtml("currency"); ?> | 917 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 464 | <?php echo $this->getChildHtml("store_language"); ?> | 918 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 465 | <?php echo $this->getChildHtml("skip_to_content"); ?> | 919 | </div> | |||
| 920 | </div> | |||||
| 921 | <div class="header-right"> | |||||
| 922 | <div class="panel header show-icon-tablet"> | |||||
| 923 | <div class="top-links-icon"> | |||||
| 924 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 925 | </div> | |||||
| 466 | <?php echo $this->getChildHtml("header.links"); ?> | 926 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 467 | </div> | 927 | </div> | |||
| 928 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 929 | </div> | |||||
| 468 | </div> | 930 | </div> | |||
| 469 | </div> | 931 | </div> | |||
| 470 | </div> | 932 | </div> | |||
| 471 | </div> | 933 | </div> | |||
| 472 | <div class="header content | 934 | <div class="header-main"> | |||
| 935 | <div class="header content header-row"> | |||||
| 936 | <div class="header-col header-left"> | |||||
| 473 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 937 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 474 | <?php echo $this->getChildHtml("logo"); ?> | 938 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 475 | <div class="header-main-right"> | 939 | <div class="search-area show-icon-tablet"> | |||
| 476 | <div class="search-area | 940 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i></span>< | |||
| 477 | <a href="javascript:void(0) | |||||
| 478 | <?php echo $this->getChildHtml("top.search"); ?> | 941 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 479 | </div> | 942 | </div> | |||
| 943 | </div> | |||||
| 944 | <div class="header-col header-right"> | |||||
| 945 | <div class="header-contact"> | |||||
| 480 | <?php echo $this->getChildHtml("custom_block"); ?> | 946 | <?php echo $this->getChildHtml("custom_block"); ?> | |||
| 481 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-icon-heart-empty"></i></a> | 947 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class=" | |||
| 948 | </div> | |||||
| 482 | <?php echo $this->getChildHtml("minicart"); ?> | 949 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 483 | </div> | 950 | </div> | |||
| 484 | </div> | 951 | </div> | |||
| 952 | </div> | |||||
| 485 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 953 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 486 | <?php elseif($header_type == 24 ): ?> | 954 | <?php elseif($header_type == 17): ?> | |||
| 487 | <div class="header content"> | 955 | <div class="main-panel-top"> | |||
| 488 | <?php echo $this->getChildHtml("logo"); ?> | 956 | <div class="container"> | |||
| 489 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 957 | <div class="main-panel-inner"> | |||
| 958 | <div class="panel wrapper"> | |||||
| 959 | <div class="header-left"> | |||||
| 490 | <div class="panel header"> | 960 | <div class="panel header"> | |||
| 491 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 492 | <?php echo $this->getChildHtml("currency"); ?> | 961 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 493 | <?php echo $this->getChildHtml("store_language"); ?> | 962 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 494 | <div class="top-links-area"> | 963 | </div> | |||
| 495 | <div class="top-links-icon"><a href="javascript:void(0)"><i class="porto-new-icon-user-2"></i><span><?php echo __('links');?></span></a></div> | 964 | </div> | |||
| 965 | <div class="header-right"> | |||||
| 966 | <div class="panel header show-icon-tablet"> | |||||
| 967 | <div class="top-links-icon"> | |||||
| 968 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 969 | </div> | |||||
| 496 | <?php echo $this->getChildHtml("header.links"); ?> | 970 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 497 | </div> | 971 | </div> | |||
| 498 | <div class="search-area | 972 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||
| 499 | <a href="javascript:void(0) | 973 | </div> | |||
| 974 | </div> | |||||
| 975 | </div> | |||||
| 976 | </div> | |||||
| 977 | </div> | |||||
| 978 | <div class="header-main"> | |||||
| 979 | <div class="header content header-row"> | |||||
| 980 | <div class="header-col header-left"> | |||||
| 981 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 982 | </div> | |||||
| 983 | <div class="header-col header-center"> | |||||
| 984 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 985 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 986 | </div> | |||||
| 987 | <div class="header-col header-right"> | |||||
| 988 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 989 | <div class="search-area show-icon"> | |||||
| 990 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i>< | |||||
| 500 | <?php echo $this->getChildHtml("top.search"); ?> | 991 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 501 | </div> | 992 | </div> | |||
| 502 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-new-icon-wishlist-2"></i></a> | 993 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-sm-1" title="Wishlist"><i class="porto- | |||
| 503 | <?php echo $this->getChildHtml("minicart"); ?> | 994 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 504 | </div> | 995 | </div> | |||
| 505 | </div> | 996 | </div> | |||
| 506 | <?php elseif($header_type == 25): ?> | 997 | </div> | |||
| 998 | <?php elseif($header_type == 18): ?> | |||||
| 999 | <div class="main-panel-top"> | |||||
| 1000 | <div class="container"> | |||||
| 1001 | <div class="main-panel-inner"> | |||||
| 507 | <div class="panel wrapper"> | 1002 | <div class="panel wrapper"> | |||
| 1003 | <div class="header-left"> | |||||
| 508 | <div class="panel header"> | 1004 | <div class="panel header"> | |||
| 509 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 510 | <?php echo $this->getChildHtml("currency"); ?> | 1005 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 511 | <?php echo $this->getChildHtml("store_language"); ?> | 1006 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 1007 | </div> | |||||
| 1008 | </div> | |||||
| 1009 | <div class="header-right"> | |||||
| 1010 | <div class="panel header show-icon-tablet"> | |||||
| 1011 | <div class="top-links-icon"> | |||||
| 1012 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 1013 | </div> | |||||
| 512 | <?php echo $this->getChildHtml("header.links"); ?> | 1014 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 513 | </div> | 1015 | </div> | |||
| 1016 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 1017 | </div> | |||||
| 514 | </div> | 1018 | </div> | |||
| 515 | <div class="header content"> | |||||
| 516 | <div class="header-main-left"> | |||||
| 517 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 518 | </div> | 1019 | </div> | |||
| 519 | <div class="header-main-center"> | |||||
| 520 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 521 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 522 | </div> | 1020 | </div> | |||
| 523 | <div class="header-main-right"> | 1021 | </div> | |||
| 524 | <div class="custom-block"> | 1022 | <div class="header-main | |||
| 1023 | <div class="header content header-row"> | |||||
| 1024 | <div class="header-col header-left"> | |||||
| 1025 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 1026 | <div class="header-contact"> | |||||
| 525 | <?php | 1027 | <?php | |||
| 526 | $custom_block_id_25 =$this->getConfig('porto_settings/header/static_block_25'); | 1028 | $custom_block_id_18 =$this->getConfig('porto_settings/header/static_block_18'); | |||
| 527 | ||||||
| 528 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | 1029 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | |||
| 529 | if($block) { | 1030 | if($block) $block->setBlockId($custom_block_id_18); | |||
| 530 | | 1031 | if($block) echo $block->toHtml(); | |||
| 531 | } | |||||
| 532 | if($block){ | |||||
| 533 | | |||||
| 534 | } | |||||
| 535 | ?> | 1032 | ?> | |||
| 536 | </div> | 1033 | </div> | |||
| 537 | <div class="search-area"> | |||||
| 538 | <a href="javascript:void(0)" class="search-toggle-icon"><i class="porto-icon-search"></i><span><?php echo __('Search'); ?></span></a> | |||||
| 539 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 540 | </div> | 1034 | </div> | |||
| 541 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-new-icon-wishlist-2"></i></a> | 1035 | <div class="header-col header-center"> | |||
| 1036 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 1037 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 1038 | </div> | |||||
| 1039 | <div class="header-col header-right"> | |||||
| 1040 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 1041 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class=" | |||||
| 542 | <?php echo $this->getChildHtml("minicart"); ?> | 1042 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 543 | </div> | 1043 | </div> | |||
| 544 | </div> | 1044 | </div> | |||
| 545 | <div class="menu- | 1045 | </div> | |||
| 1046 | <div class="header-bottom main-menu-wrap"> | |||||
| 1047 | <div class="header-row container"> | |||||
| 1048 | <div class="header-col header-left"> | |||||
| 1049 | <div id="main-toggle-menu" class="closed"> | |||||
| 546 | <?php | 1050 | <?php | |||
| 547 | $toggle_text = $this->getConfig('porto_settings/header/toggle_text_25'); | 1051 | $toggle_text = $this->getConfig('porto_settings/header/toggle_text_18'); | |||
| 548 | $secondary_menu_25 =$this->getConfig('porto_settings/header/secondary_menu_25'); | 1052 | $secondary_menu_18 =$this->getConfig('porto_settings/header/secondary_menu_18'); | |||
| 549 | ?> | 1053 | ?> | |||
| 550 | <div class="container"> | 1054 | <div class=" | |||
| 551 | <div class="menu-wrapper"> | 1055 | <div class="toggle"></div><?php echo $toggle_text; | |||
| 552 | <div class="drop-menu | 1056 | </div> | |||
| 553 | <a href="javascript:void(0)"> | 1057 | <div class="toggle-menu-wrap side-nav-wrap" style="display: none;"> | |||
| 554 | < | |||||
| 555 | </a> | |||||
| 556 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 1058 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 557 | </div> | 1059 | </div> | |||
| 558 | <div class="custom-menu-block"> | 1060 | </div> | |||
| 1061 | <div class="second-menu-block"> | |||||
| 1062 | <div class="sections nav-sections"> | |||||
| 1063 | <nav class="navigation sw-megamenu "> | |||||
| 559 | <?php | 1064 | <?php | |||
| 560 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | 1065 | $block = $this->getLayout()->createBlock('Magento\Cms\Block\Block'); | |||
| 561 | if($block) { | 1066 | if($block) $block->setBlockId($secondary_menu_18); | |||
| 562 | | 1067 | if($block) echo $block->toHtml(); | |||
| 563 | } | |||||
| 564 | if($block){ | |||||
| 565 | | |||||
| 566 | } | |||||
| 567 | ?> | 1068 | ?> | |||
| 1069 | </nav> | |||||
| 1070 | </div> | |||||
| 1071 | </div> | |||||
| 568 | </div> | 1072 | </div> | |||
| 569 | <div class="search-area | 1073 | <div class="header-col header-right"> | |||
| 570 | <a href="javascript:void(0) | 1074 | <div class="search-area show-icon-tablet"> | |||
| 1075 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i>< | |||||
| 571 | <?php echo $this->getChildHtml("top.search"); ?> | 1076 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 572 | </div> | 1077 | </div> | |||
| 573 | </div> | 1078 | </div> | |||
| 574 | </div> | 1079 | </div> | |||
| 575 | </div> | 1080 | </div> | |||
| 576 | <?php elseif($header_type == 26): ?> | 1081 | <script type="text/javascript"> | |||
| 1082 | require([ | |||||
| 1083 | 'jquery' | |||||
| 1084 | ], function ($) { | |||||
| 1085 | if($(window).width() <= 991){ | |||||
| 1086 | if($('.page-header.type18 .header-bottom .header-right .search-area')){ | |||||
| 1087 | $('.page-header.type18 .header-bottom .header-right .search-area').after('<div class="item-search-place hide"></div>'); | |||||
| 1088 | var item_search = $('.page-header.type18 .header-bottom .header-right .search-area').detach(); | |||||
| 1089 | $('.page-header.type18 .header-main .header-right .custom-block').after(item_search); | |||||
| 1090 | } | |||||
| 1091 | } | |||||
| 1092 | $(window).resize(function(){ | |||||
| 1093 | var b_w = $(window).width(); | |||||
| 1094 | if(b_w <= 991){ | |||||
| 1095 | if($('.page-header.type18 .header-bottom .header-right .search-area')){ | |||||
| 1096 | $('.page-header.type18 .header-bottom .header-right .search-area').after('<div class="item-search-place hide"></div>'); | |||||
| 1097 | var item_search = $('.page-header.type18 .header-bottom .header-right .search-area').detach(); | |||||
| 1098 | $('.page-header.type18 .header-main .header-right .custom-block').after(item_search); | |||||
| 1099 | } | |||||
| 1100 | } | |||||
| 1101 | if(b_w > 991){ | |||||
| 1102 | if($('.page-header.type18 .header-main .header-right .search-area').length > 0) { | |||||
| 1103 | var item_search = $('.page-header.type18 .header-main .header-right .search-area').detach(); | |||||
| 1104 | $('.item-search-place').after(item_search); | |||||
| 1105 | $('.item-search-place').remove(); | |||||
| 1106 | } | |||||
| 1107 | } | |||||
| 1108 | }); | |||||
| 1109 | $('#main-toggle-menu .menu-title').on('click', function() { | |||||
| 1110 | var $toggle_menu = $(this).parent(); | |||||
| 1111 | var $this = $(this); | |||||
| 1112 | if ($this.hasClass('closed')) { | |||||
| 1113 | $this.removeClass('closed'); | |||||
| 1114 | $toggle_menu.removeClass('closed'); | |||||
| 1115 | $toggle_menu.find('.toggle-menu-wrap').stop().slideDown(400, function() { | |||||
| 1116 | $(this).attr('style', '').show(); | |||||
| 1117 | }); | |||||
| 1118 | if ($('#main-toggle-menu').length) { | |||||
| 1119 | if ($('#main-toggle-menu').hasClass('show-always')) { | |||||
| 1120 | $('#main-toggle-menu').data('show-always', true); | |||||
| 1121 | $('#main-toggle-menu').removeClass('show-always'); | |||||
| 1122 | } | |||||
| 1123 | } | |||||
| 1124 | } else { | |||||
| 1125 | scrolled = false; | |||||
| 1126 | $this.addClass('closed'); | |||||
| 1127 | $toggle_menu.addClass('closed'); | |||||
| 1128 | $toggle_menu.find('.toggle-menu-wrap').stop().slideUp(400, function() { | |||||
| 1129 | $(this).attr('style', '').hide(); | |||||
| 1130 | }); | |||||
| 1131 | } | |||||
| 1132 | }); | |||||
| 1133 | $(window).scroll(function(){ | |||||
| 1134 | if($(window).width()>=992){ | |||||
| 1135 | if(10<$(window).scrollTop()){ | |||||
| 1136 | if (!$('#main-toggle-menu').hasClass('closed')) { | |||||
| 1137 | $('#main-toggle-menu .menu-title').trigger('click'); | |||||
| 1138 | } | |||||
| 1139 | } | |||||
| 1140 | } | |||||
| 1141 | }); | |||||
| 1142 | }); | |||||
| 1143 | </script> | |||||
| 1144 | <?php elseif($header_type == 19): ?> | |||||
| 1145 | <div class="main-panel-top"> | |||||
| 1146 | <div class="container"> | |||||
| 1147 | <div class="main-panel-inner"> | |||||
| 577 | <div class="panel wrapper"> | 1148 | <div class="panel wrapper"> | |||
| 578 | <div class="panel header"> | 1149 | <div class="header-col header-left"> | |||
| 579 | <div class="header-top-left"> | 1150 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||
| 580 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 581 | </div> | 1151 | </div> | |||
| 582 | <div class="header-top-right"> | 1152 | <div class="header-col header-right"> | |||
| 1153 | <div class="panel header"> | |||||
| 583 | <?php echo $this->getChildHtml("currency"); ?> | 1154 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 584 | <?php echo $this->getChildHtml("store_language"); ?> | 1155 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 585 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 586 | </div> | 1156 | </div> | |||
| 587 | </div> | 1157 | </div> | |||
| 588 | </div> | 1158 | </div> | |||
| 589 | <div class="header content | 1159 | </div> | |||
| 590 | <div class="header-main-left"> | 1160 | </div> | |||
| 1161 | </div> | |||||
| 1162 | <div class="header-main"> | |||||
| 1163 | <div class="header content header-row"> | |||||
| 1164 | <div class="header-col header-left"> | |||||
| 591 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 1165 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 592 | <?php echo $this->getChildHtml("logo"); ?> | 1166 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 593 | </div> | |||||
| 594 | <div class="header-main-center"> | |||||
| 595 | <?php echo $this->getChildHtml("navigation.sections"); ?> | 1167 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||
| 596 | </div> | 1168 | </div> | |||
| 597 | <div class="header-main-right"> | 1169 | <div class="header-col header-right"> | |||
| 598 | <div class="top-links-area"> | 1170 | <div class="panel header my-account show-icon"> | |||
| 599 | <a class="top-links-icon" href="javascript:void(0)"><i class="porto-new-icon-user-2"></i></a> | 1171 | <div class="top-links-icon"> | |||
| 1172 | <a | |||||
| 1173 | </div> | |||||
| 600 | <?php echo $this->getChildHtml("header.links"); ?> | 1174 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 601 | </div> | 1175 | </div> | |||
| 602 | <div class="search-area | 1176 | <div class="search-area show-icon"> | |||
| 603 | <a href="javascript:void(0) | 1177 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i>< | |||
| 604 | <?php echo $this->getChildHtml("top.search"); ?> | 1178 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 605 | </div> | 1179 | </div> | |||
| 606 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-new-icon-wishlist-2"></i></a> | 1180 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-2" title="Wishlist"><i class="porto- | |||
| 607 | <?php echo $this->getChildHtml("minicart"); ?> | 1181 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 608 | </div> | 1182 | </div> | |||
| 609 | </div> | 1183 | </div> | |||
| 610 | <?php elseif($header_type == 27): ?> | 1184 | </div> | |||
| 1185 | <?php else: ?> | |||||
| 1186 | <div class="main-panel-top"> | |||||
| 1187 | <div class="container"> | |||||
| 1188 | <div class="main-panel-inner"> | |||||
| 611 | <div class="panel wrapper"> | 1189 | <div class="panel wrapper"> | |||
| 1190 | <div class="header-left"> | |||||
| 612 | <div class="panel header"> | 1191 | <div class="panel header"> | |||
| 613 | <div class="header-top-left"> | |||||
| 614 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 615 | </div> | |||||
| 616 | <div class="header-top-right"> | |||||
| 617 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 618 | <?php echo $this->getChildHtml("currency"); ?> | 1192 | <?php echo $this->getChildHtml("currency"); ?> | |||
| 619 | <?php echo $this->getChildHtml("store_language"); ?> | 1193 | <?php echo $this->getChildHtml("store_language"); ?> | |||
| 1194 | </div> | |||||
| 1195 | </div> | |||||
| 1196 | <div class="header-right"> | |||||
| 1197 | <div class="panel header show-icon-tablet"> | |||||
| 1198 | <div class="top-links-icon"> | |||||
| 1199 | <a href="javascript:;"><?php echo __('Links');?></a> | |||||
| 1200 | </div> | |||||
| 620 | <?php echo $this->getChildHtml("header.links"); ?> | 1201 | <?php echo $this->getChildHtml("header.links"); ?> | |||
| 621 | </div> | 1202 | </div> | |||
| 1203 | <?php echo $this->getChildHtml("custom_block_top"); ?> | |||||
| 1204 | </div> | |||||
| 1205 | </div> | |||||
| 1206 | </div> | |||||
| 622 | </div> | 1207 | </div> | |||
| 623 | </div> | 1208 | </div> | |||
| 624 | <div class="header content | 1209 | <div class="header-main"> | |||
| 625 | <div class="header-main-left"> | 1210 | <div class="header content header-row"> | |||
| 1211 | <div class="header- | |||||
| 626 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | 1212 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||
| 627 | <?php echo $this->getChildHtml("logo"); ?> | 1213 | <?php echo $this->getChildHtml("logo"); ?> | |||
| 628 | </div> | 1214 | </div> | |||
| 629 | <div class="header-main-right"> | 1215 | <div class="header-center"> | |||
| 630 | <div class="search-area | 1216 | <div class="search-area show-icon-tablet"> | |||
| 631 | <a href="javascript:void(0) | 1217 | <a href="javascript:void(0);" class="search-toggle-icon"><span><i class="porto-icon-magnifier"></i>< | |||
| 632 | <?php echo $this->getChildHtml("top.search"); ?> | 1218 | <?php echo $this->getChildHtml("top.search"); ?> | |||
| 633 | </div> | 1219 | </div> | |||
| 634 | <div class="top-links-area"> | |||||
| 635 | <a class="top-links-icon" href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account' ?>"><i class="porto-new-icon-user-2"></i></a> | |||||
| 636 | </div> | |||||
| 637 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="action my-wishlist" title="My Wish List" role="button"><i class="porto-new-icon-wishlist-2"></i></a> | |||||
| 638 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 639 | </div> | 1220 | </div> | |||
| 1221 | <div class="header-right"> | |||||
| 1222 | <div class="header-contact"> | |||||
| 1223 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 1224 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'customer/account/' ?>" class="my-account m-l-xs mr-1 mr-lg-2" title="My Account"><i class="porto-icon-user-2"></i></a> | |||||
| 1225 | <a href="<?php echo $_helper->getBaseLinkUrl(). 'wishlist' ?>" class="wishlist mr-1 mr-lg-2 pr-lg-1" title="Wishlist"><i class="porto-icon-wishlist-2"></i></a> | |||||
| 640 | </div> | 1226 | </div> | |||
| 641 | <?php else: ?> | 1227 | <?php echo $this->getChildHtml("minicart"); ?> | |||
| 642 | <div class="panel wrapper"> | |||||
| 643 | <div class="panel header"> | |||||
| 644 | <?php echo $this->getChildHtml("skip_to_content"); ?> | |||||
| 645 | <?php echo $this->getChildHtml("currency"); ?> | |||||
| 646 | <?php echo $this->getChildHtml("store_language"); ?> | |||||
| 647 | <?php echo $this->getChildHtml("header.links"); ?> | |||||
| 648 | </div> | 1228 | </div> | |||
| 649 | </div> | 1229 | </div> | |||
| 650 | <div class="header content"> | |||||
| 651 | <?php echo $this->getChildHtml("logo"); ?> | |||||
| 652 | <?php echo $this->getChildHtml("minicart"); ?> | |||||
| 653 | <span data-action="toggle-nav" class="action nav-toggle"><span><?php echo __('Toggle Nav') ?></span></span> | |||||
| 654 | <?php echo $this->getChildHtml("top.search"); ?> | |||||
| 655 | <?php echo $this->getChildHtml("custom_block"); ?> | |||||
| 656 | </div> | 1230 | </div> | |||
| 657 | <?php echo $this->getChildHtml("navigation.sections"); ?> | |||||
| 658 | <?php endif; ?> | 1231 | <?php endif; ?> | |||
| 659 | </header><?php | 1232 | </header> | |||
| 1233 | <?php if($header_type == 10): ?> | |||||
| 1234 | </div> | |||||
| 1235 | <?php endif; ?> | |||||
| 1236 | <?php | |||||
| 660 | if ($show_notice && $show_notice == 2) | 1237 | if ($show_notice && $show_notice == 2) | |||
| 661 | echo $this->getChildHtml("porto_custom_notice"); | 1238 | echo $this->getChildHtml("porto_custom_notice"); | |||
| 662 | ?> | 1239 | ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.